package com.itcast.java.coupon.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * 专题商品实体类
 *
 * @author xiaobai
 * @date 2021-06-27 19:38:46
 */
@Data
@TableName("sms_home_subject_spu")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "SmsHomeSubjectSpuEntity对象", description = "专题商品")
public class SmsHomeSubjectSpuEntity implements Serializable{

private static final long serialVersionUID=1L;

        @ApiModelProperty(value = "id")
                @TableId(value = "id", type = IdType.AUTO)
                private Long id;

        @ApiModelProperty(value = "专题名字")
    @TableField("name")
        private String name;

        @ApiModelProperty(value = "专题id")
    @TableField("subject_id")
        private Long subjectId;

        @ApiModelProperty(value = "spu_id")
    @TableField("spu_id")
        private Long spuId;

        @ApiModelProperty(value = "排序")
    @TableField("sort")
        private Integer sort;

        }